package com.geostar.constructionland.analyse.service.feignservice;

import com.geostar.constructionland.common.entity.response.ExtJsAjaxResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author makoto_zhu
 * @Date 2020-12-14 08:45:03
 * @Description
 **/
@FeignClient(name = "constructionland-statistics")
public interface PostAnalyseFeignClient {

    @Async("analyseTaskExecutor")
    @RequestMapping(value = "/postAnalyse/startPostAnalyse", method = RequestMethod.POST)
    ExtJsAjaxResponse startPostAnalyse(@RequestParam String fxlx, @RequestParam String ywid);

}
